package cn.com.zetatech.loader.common.service;

import cn.com.zetatech.loader.common.message.ResolverMessage;

import java.util.Map;

/**
 * @author zhengbs
 */
public interface ResolverResultService {

    void success(ResolverMessage resolverMessage, String remoteFileId, Map<String, Object> fileInfoMap, long duration);

    void fail(ResolverMessage resolverMessage, String message, String remoteFileId, Map<String, Object> fileInfoMap, long duration, boolean moveFile);

}
